package com.igroupes.ovineherd.raw.service;

import com.igroupes.ovineherd.dto.UserInfo;
import com.igroupes.ovineherd.dto.response.RelationshipResponse;
import com.igroupes.ovineherd.model.dto.RelationshipRequest;

import java.util.List;

public interface IDataModelRelationshipService {

    /**
     * 添加模型关系
     * @param relationshipRequests
     * @return
     */
    Boolean modelBatchAddRelationship(List<RelationshipRequest> relationshipRequests, UserInfo userInfo);

    /**
     * 模型关系
     * @param userInfo
     * @return
     */
    List<RelationshipResponse> getRelationship(UserInfo userInfo);
}
